package com.flower.core_service.feignClient;

import com.flower.core_service.feignClient.fallback.UploadFeignClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName UploadFeignClient
 * @Description TODO
 * @Author 吃麻椒的花酱
 * @Date 2022/3/16 12:38
 * @Version 1.0
 */
// 这里注意不要使用下划线 要使用驼峰命名 否则会导致编译失败
@FeignClient(name = "gateway",fallback = UploadFeignClientFallback.class)
public interface UploadFeignClient {

    @GetMapping(value = "/system/upload/deleteImage/{id}")
    void deleteImage(@PathVariable String id);

    @GetMapping(value ="/otherService/testcontroller/deletetest" )
    void test();

}
